import java.util.HashSet;
import java.util.Set;

public class 货物摆放 {
public static void main(String[] args) {
	long n = 2021041820210418l;//2430
	Set<Long> set = new HashSet<Long>();
	for(long i = 1;i <= n / i;i++) {
		if(n%i==0) {
			set.add(i);
			set.add((n/i));
		}
	}
	long ans = 0;
	for(Long a:set)
		for(Long b:set)
			for(Long c:set)
				if(a*b*c==n) ans++;
	System.out.println(ans);	
}
}

